<?php
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
$plate=select_one_line_all_items($table_Prefix."plate", "mid = 'renewal'");
//设置需要搜索的表格的前缀后缀
 $table_suffix = "renewal";
 $table        = $table_Prefix . $table_suffix;
?>


<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
?>





<?php
//接收需要修改的数据的id
$new_detail_nid          = addslashes($_REQUEST['nid']);

$sql=update_date($table,$_REQUEST,"nid",$new_detail_nid);
$query = mysql_query($sql) or die ("error:".mysql_error());

?>










<script type="text/javascript">

    alert("输入信息已保存，点击确认返回继续操作.");
    document.location.href = "detail-list.php?nowpageid=<? echo $_GET["nowpageid"] ?>&sortby=<? echo $sortby?>&nid=<? echo $term_nid ?>&sys_part=<? echo $system_part ?>&nav-itemed=<? echo $_GET["nav-itemed"] ?>"

</script>

